import axios from '@/utils/request.js'

// 结算列表
export function getCheckoutAPI() {
        return axios({
                url: '/member/order/pre',
        })
}

// 创建订单
export function getPayAPI(data) {
        return axios({
                url: '/member/order',
                method: 'post',
                data
        })
}

// 订单详情
export function getOrderAPI(id) {
        return axios({
                url: `/member/order/${id}`,
        })
}


